package com.dynabook.ems.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName ems_user
 */
@TableName(value = "ems_user")
@Data
public class EmsUser implements Serializable {
    /**
     *
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "USER_ID")
    private String userId;

    /**
     *
     */
    @TableField(value = "USER_NAME")
    private String userName;

    /**
     *
     */
    @TableField(value = "PASSWORD")
    private String password;

    /**
     *
     */
    @TableField(value = "MAIL")
    private String mail;

    /**
     *
     */
    @TableField(value = "DEPARTMENT")
    private String department;

    /**
     *
     */
    @TableField(value = "IS_TECH")
    private String isTech;

    /**
     * 0在职 1离职
     */
    @TableField(value = "IS_DELETED")
    private String isDeleted;

    /**
     *
     */
    @TableField(value = "SECTION")
    private String section;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}